window.onload = function()
{
	var xhttp = new XMLHttpRequest();
	xhttp.onreadystatechange = function () {
	    if (this.readyState == 4 && this.status == 200)
		{
			if (this.responseText != "true")
			{
				document.getElementById("teacherInfo").style.display = "none";
				document.getElementById("studentInfo").classList.remove("main-left");
				document.getElementById("studentInfo").classList.add("main-center");
			}
	    }
	};
	
	xhttp.open("post", "/teacher/IsSuperManagerServlet" , true);
	
	xhttp.send();
}